{% extends "adminbase.html" %}


{% block main_title %}<h1>Change Password</h1>{% endblock %}

{% block main_subtitle %}{% endblock %}

{% block main_content %}
{% if success_message %}
	<b>{{ success_message }}</b><br/><br/>
{% endif %}

<form method="post" action="/admins/changePassword/">{% csrf_token %}
	{{ form.non_field_errors }} 
	{% for field in form %}
		<div class="fieldWrapper">
			{{ field.label_tag }}<br/>
			{% if field.errors %}
				<label class="text" style="color: #FF0000">{{ field.errors }}</label>
			{% endif %} 
			{{ field }}<br/><br/>
		</div>
	{% endfor %}
	<input id="search_btn" type="submit" name="submit" value="Change" /> <br/><br/>
</form>
{% endblock %}
